import service from "../utils/request";

export function Bie() {
    return service({
        url: '/echarts/bie',
        method: 'get'
    })
}

export function Bar() {
    return service({
        url: '/echarts/bar',
        method: 'get'
    })
}

export function Line() {
    return service({
        url: '/echarts/line',
        method: 'get'
    })
}

export function exportLast30DaysExcel() {
    return service({
        url: '/echarts/export/last',
        method: 'get',
        responseType: 'blob'
    });
}

export function exportAllDaysExcel() {
    return service({
        url: '/echarts/export/all',
        method: 'get',
        responseType: 'blob'
    });
}